package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Rule;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface RuleService  {
    Rule saveOrUpdateRule(Rule rule);

    IPage<Rule> get4Page(Pagination pagination);

    List<Rule> getAll();

    Rule deleteRule(Rule rule);
}
